# project root path
PROJECT ("Galaxy")

SET(LDA_TRAINER "lda_trainer")
SET(LDA_INFER "lda_infer")

FILE(GLOB_RECURSE LDA_TRAINER_SRC RELATIVE ${PROJECT_SOURCE_DIR}  
    ../trainer/lda_trainer.cc
    ../common/*.cpp
    ../common/*.cc
    ../matrix/*.cc
    ../framework/*.cc
    ../lda/*.cc
)

MESSAGE(STATUS "LDA_TRAINER_SRC: ${LDA_TRAINER_SRC}")

ADD_EXECUTABLE("${LDA_TRAINER}" ${LDA_TRAINER_SRC})
TARGET_LINK_LIBRARIES(${LDA_TRAINER} "pthread")


FILE(GLOB_RECURSE LDA_INFER_SRC RELATIVE ${PROJECT_SOURCE_DIR}  
    ../trainer/lda_infer.cc
    ../common/*.cpp
    ../common/*.cc
    ../matrix/*.cc
    ../framework/*.cc
    ../lda/*.cc
)

MESSAGE(STATUS "LDA_INFER: ${LDA_INFER_SRC}")

#ADD_EXECUTABLE("${LDA_INFER}" ${LDA_INFER_SRC})
#TARGET_LINK_LIBRARIES(${LDA_INFER} "pthread")

